﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage/ShenBaoYBQY.master" AutoEventWireup="true" CodeFile="1-1.aspx.cs" Inherits="ybqy_Default" %>

<%--<%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %>
--%>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder3" Runat="Server">
  
    <script language="javascript" type="text/javascript" src="../kongjian/My97DatePicker/WdatePicker.js"></script> 
    <script language="javascript" type="text/javascript" src="../kongjian/Lodop/LodopFuncs.js"></script>
    <script src="../kongjian/myjs/myjs.js" type="text/javascript"></script>
    <span class="BiaoBiaoTi" >表一 单位基本信息</span> 
    <table  border="1px" cellpadding="0" cellspacing="0">
        <tr>
            <td style="width: 208px; height: 22px;">
                1.单位地址</td>
            <td colspan="10" style="height: 22px">
                <asp:TextBox ID="FACT_ADDRESS" runat="server" Width="588px"  onclick="gettishi('10110101')" 
                    ontextchanged="TextBox1_TextChanged"></asp:TextBox>
                <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT * FROM [CODE_FACTSCALE]"></asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource2" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [FACT_TYPEID], [FACT_TYPE] FROM [CODE_FACT_TYPE]">
                </asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [CODE], [NAME] FROM [CODE_HAVINGTYPE]">
                </asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [CODE], [NAME] FROM [CODE_FACT_KIND]">
                </asp:SqlDataSource>
                <asp:SqlDataSource ID="SqlDataSource5" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [CODE], [ATTES] FROM [CODE_ATTE]"></asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                2.中心经度</td>
            <td style="width: 117px">
                <asp:Label ID="Label3" runat="server" Text=""></asp:Label>
                <asp:Button ID="Button1" runat="server" style="text-align: right" Text="点取" 
                    onclick="Button1_Click" />
            </td>
            <td style="width: 235px">
                4.单位环保机构名称</td>
            <td colspan="4">
                <asp:TextBox ID="MASTER_DEP" runat="server" Width="92px" onclick="gettishi('10110102')"></asp:TextBox>
            </td>
            <td style="width: 169px">
                6.联系人</td>
            <td style="width: 112px" class="style2">
                <asp:TextBox ID="ENV_PEOPLE" runat="server" Width="103px" onclick="gettishi('10110104')"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                7.传真</td>
            <td style="width: 106px">
                <asp:TextBox ID="FAX" runat="server" Width="98px" onclick="gettishi('10110106')"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                3.中心纬度</td>
            <td style="width: 117px">
                <asp:Label ID="Label4" runat="server" Text=""></asp:Label>
            </td>
            <td style="width: 235px">
                5.专职环保人员数</td>
            <td colspan="4">
                <asp:TextBox ID="WORK_NUMBER" runat="server" Width="34px" onclick="gettishi('10110103')"></asp:TextBox>
            </td>
            <td style="width: 169px">
                7.联系电话</td>
            <td style="width: 112px" class="style2">
                <asp:TextBox ID="FACT_TEL" runat="server" Width="103px" onclick="gettishi('10110105')"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                8.电子邮件</td>
            <td style="width: 106px">
                <asp:TextBox ID="E_MAIL" runat="server" Width="100px" onclick="gettishi('10110107')"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                9.通讯地址</td>
            <td colspan="6">
                <asp:TextBox ID="POST_ADDRESS" runat="server" Width="381px" onclick="gettishi('10110108')"></asp:TextBox>
            </td>
            <td style="width: 169px">
                10.邮政编码</td>
            <td class="style2" style="width: 112px">
                <asp:TextBox ID="TextBox8" runat="server" Width="79px" onclick="gettishi('10110109')"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                11.装机容量(万千瓦)</td>
            <td style="width: 106px">
                <asp:TextBox ID="water_facility_type" runat="server" Width="96px" onclick="gettishi('10110110')"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                12.投产(开业)日期</td>
            <td style="width: 117px">
                <asp:TextBox ID="STARTWORK_TIME" runat="server"  onclick="WdatePicker()"  
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                13.上年生产(经营)天数</td>
            <td colspan="4">
                <asp:TextBox ID="WORKINGDAYOFYEAR" runat="server"   onclick="gettishi('10110111')"  
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 169px">
                14.年末职工人数</td>
            <td class="style2" style="width: 112px">
                <asp:TextBox ID="EMPLOYEEOFYEAR" runat="server"      onclick="gettishi('10110112')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                15.企业规模</td>
            <td style="width: 106px">
                <asp:DropDownList ID="DropDownList1" runat="server" 
                    DataSourceID="SqlDataSource1" DataTextField="NAME" DataValueField="CODE" 
                    Height="30px" Width="92px">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                16.单位类别</td>
            <td style="width: 117px">
                <asp:DropDownList ID="DropDownList2" runat="server" 
                    DataSourceID="SqlDataSource2" DataTextField="FACT_TYPE" 
                    DataValueField="FACT_TYPEID" Height="30px" Width="92px">
                </asp:DropDownList>
            </td>
            <td style="width: 235px">
                17.登记注册类型</td>
            <td colspan="4">
                <asp:DropDownList ID="DropDownList3" runat="server" 
                    DataSourceID="SqlDataSource3" DataTextField="NAME" DataValueField="CODE" 
                    Height="30px" Width="92px">
                </asp:DropDownList>
            </td>
            <td style="width: 169px">
                18.隶属关系</td>
            <td class="style2" style="width: 112px">
                <asp:DropDownList ID="DropDownList4" runat="server" 
                    DataSourceID="SqlDataSource4" DataTextField="NAME" DataValueField="CODE" 
                    Height="30px" Width="92px">
                </asp:DropDownList>
            </td>
            <td class="style2" style="width: 258px">
                19.行业类别</td>
            <td style="width: 106px">
                <asp:DropDownList ID="DropDownList7" runat="server" 
                    DataSourceID="SqlDataSource7" DataTextField="NAME" DataValueField="CODE" 
                    Height="28px" Width="96px">
                </asp:DropDownList>
                <asp:Button ID="Button4" runat="server" onclick="Button4_Click" Text="点取" />
                <asp:SqlDataSource 
                    ID="SqlDataSource7" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [CODE], [NAME] FROM [CODE_TRADE]"></asp:SqlDataSource>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                20.开户行</td>
            <td colspan="6">
                <asp:TextBox ID="BANK_NAME" runat="server"     onclick="gettishi('10110114')"
                    Width="313px" ontextchanged="TextBox18_TextChanged"></asp:TextBox>
            </td>
            <td style="width: 169px">
                21.帐号</td>
            <td colspan="3">
                <asp:TextBox ID="BANK_NUM" runat="server"     onclick="gettishi('10110114')"
                    Width="223px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                22.上年总产值(万元)</td>
            <td style="width: 117px">
                <asp:TextBox ID="PRODUCTIONOFYEAR" runat="server"     onclick="gettishi('10110115')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                23.上年利税金额(万元)</td>
            <td colspan="4">
                <asp:TextBox ID="TAXOFYEAR" runat="server"     onclick="gettishi('10110116')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 169px">
                24.上年&quot;三废&quot;综合利用产品产值(万元)</td>
            <td class="style2" style="width: 112px">
                <asp:TextBox ID="PRODUCTION_VALUE" runat="server"      onclick="gettishi('10110117')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                25.上年末固定资产原值(万元)</td>
            <td style="width: 106px">
                <asp:TextBox ID="MERITOFYEAR" runat="server"      onclick="gettishi('10110118')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                26.环保设施原值(万元)</td>
            <td style="width: 117px">
                <asp:TextBox ID="EQUIPVALUEOFYEAR" runat="server"      onclick="gettishi('10110119')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                27.污水治理设施数（套）</td>
            <td colspan="4">
                <asp:TextBox ID="FACILITY_NUM" runat="server"     onclick="gettishi('10110120')"
                    Width="94px" ontextchanged="FACILITY_NUM_TextChanged"></asp:TextBox>
            </td>
            <td style="width: 169px">
                28.污水治理设施处理能力（吨/日）</td>
            <td style="width: 112px" class="style2">
                <asp:TextBox ID="DISPOSE_ABILITY" runat="server"     onclick="gettishi('10110121')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                29.上年污水治理设施运行费用(万元)</td>
            <td style="width: 106px">
                <asp:TextBox ID="RUN_MONEY" runat="server"      onclick="gettishi('10110122')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                30.锅炉数（台）</td>
            <td style="width: 117px">
                <asp:TextBox ID="BOILER_NUM" runat="server"     onclick="gettishi('10110123')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                32.其中烟尘排放达标数</td>
            <td style="width: 27px">
                <asp:TextBox ID="GAS_SUITNUM" runat="server"     onclick="gettishi('10110125')"
                    Width="22px"></asp:TextBox>
            </td>
            <td style="width: 27px">
                台</td>
            <td style="width: 27px">
                <asp:TextBox ID="yc_BIOLER_CNT" runat="server"    
                    Width="22px"></asp:TextBox>
            </td>
            <td style="width: 47px">
                蒸吨</td>
            <td rowspan="2" style="width: 169px">
                34.工业炉窑数（座）</td>
            <td class="style2" rowspan="2" style="width: 112px">
                <asp:TextBox ID="INDUSTRY_NUM" runat="server"     onclick="gettishi('10110126')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 258px">
                35.其中烟尘排放达标数（座）</td>
            <td style="width: 106px">
                <asp:TextBox ID="INDUGAS_SUITNUM" runat="server"     onclick="gettishi('10110127')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 208px">
                31.锅炉总蒸吨数</td>
            <td style="width: 117px">
                <asp:TextBox ID="BIOLER_CNT" runat="server"       onclick="gettishi('10110124')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                其中二氧化硫排放达标数</td>
            <td style="width: 27px">
                <asp:TextBox ID="SUFLUR_SUITNUM" runat="server"    
                    Width="22px"></asp:TextBox>
            </td>
            <td style="width: 27px">
                台</td>
            <td style="width: 27px">
                <asp:TextBox ID="so2_BIOLER_CNT" runat="server"    
                    Width="22px"></asp:TextBox>
            </td>
            <td style="width: 47px">
                蒸吨</td>
            <td class="style2" style="width: 258px">
                其中二氧化硫排放达标数（座）</td>
            <td style="width: 106px">
                <asp:TextBox ID="INDSUFLUR_SUITNUM" runat="server"     onclick="gettishi('10110128')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td rowspan="2" style="width: 208px">
                37.废气治理设施数（套）</td>
            <td rowspan="2" style="width: 117px">
                <asp:TextBox ID="GASFACILITY_NUM" runat="server"      onclick="gettishi('10110129')"
                    Width="94px"></asp:TextBox>
            </td>
            <td style="width: 235px">
                38.废气治理设施处理能力（标立方米/时）</td>
            <td colspan="4">
                <asp:TextBox ID="GASFACILITY_ABILITY" runat="server"    onclick="gettishi('10110130')"
                    Width="94px"></asp:TextBox>
            </td>
            <td rowspan="2" style="width: 169px">
                40.脱硫设施数（套）</td>
            <td class="style2" rowspan="2" style="width: 112px">
                <asp:TextBox ID="SUFLURFACILITY_NUM" runat="server"     onclick="gettishi('10110132')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" rowspan="2" style="width: 258px">
                41.脱硫设施脱硫能力（千克/时）</td>
            <td rowspan="2" style="width: 106px">
                <asp:TextBox ID="SUFLURFACILITY_ABILITY" runat="server"     onclick="gettishi('10110133')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 235px">
                上年废气治理设施运行费用（万元）</td>
            <td colspan="4">
                <asp:TextBox ID="GASFACILITY_MONEY" runat="server"    onclick="gettishi('10110131')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        </table>
    <table style="width: 100%;" border="1" class="style1">
        <tr>
            <td rowspan="4" style="width: 143px">
                排污许可证</td>
            <td class="style2" style="width: 117px">
                42.编号</td>
            <td class="style2" style="width: 114px">
                43.发证日期</td>
            <td class="style2" rowspan="2" style="width: 176px">
                44.环保管理关系</td>
            <td rowspan="2" style="width: 139px">
                <asp:DropDownList ID="DropDownList6" runat="server" 
                    DataSourceID="SqlDataSource6" DataTextField="NAME" DataValueField="CODE" 
                    Height="30px" Width="92px">
                </asp:DropDownList>
                <asp:SqlDataSource ID="SqlDataSource6" runat="server" 
                    ConnectionString="<%$ ConnectionStrings:ConnectionStringole %>" 
                    ProviderName="<%$ ConnectionStrings:ConnectionStringole.ProviderName %>" 
                    SelectCommand="SELECT [CODE], [NAME] FROM [CODE_PROJECT_NAME] ORDER BY [CODE]">
                </asp:SqlDataSource>
            </td>
            <td rowspan="2" style="width: 174px">
                46.上年缴纳排污费总额（万元）</td>
            <td rowspan="2">
                <asp:TextBox ID="CHARGEOFYEAR" runat="server"     onclick="gettishi('10110134')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2" style="width: 117px">
                <asp:TextBox ID="PERMIT_CODE1" runat="server"      onclick="gettishi('10110135')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 114px">
                <asp:TextBox ID="PERMIT_DATE1" runat="server"    onclick="WdatePicker()"  
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2" style="width: 117px">
                <asp:TextBox ID="PERMIT_CODE2" runat="server"      onclick="gettishi('10110135')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 114px">
                <asp:TextBox ID="PERMIT_DATE2" runat="server"      onclick="WdatePicker()"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" rowspan="2" style="width: 176px">
                45.是否是重点污染源</td>
            <td rowspan="2" style="width: 139px">
                <asp:DropDownList ID="DropDownList5" runat="server" 
                    DataSourceID="SqlDataSource5" DataTextField="ATTES" DataValueField="CODE" 
                    Height="30px" Width="92px">
                </asp:DropDownList>
            </td>
            <td rowspan="2" style="width: 174px">
                47.上年环境违法罚款（万元）</td>
            <td rowspan="2">
                <asp:TextBox ID="AMERCEOFYEAR" runat="server"      onclick="gettishi('10110136')"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td class="style2" style="width: 117px">
                <asp:TextBox ID="PERMIT_CODE3" runat="server"      onclick="gettishi('10110135')"
                    Width="94px"></asp:TextBox>
            </td>
            <td class="style2" style="width: 114px">
                <asp:TextBox ID="PERMIT_DATE3" runat="server"      onclick="WdatePicker()"
                    Width="94px"></asp:TextBox>
            </td>
        </tr>
    </table>
<p style="text-align: center" >
    
    <asp:Button ID="Button3" runat="server" Text="提交" onclick="Button3_Click" />
    
      
    
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
      
    
    <input id="Button5" type="button" onclick="PrintOneURL('print/1-1.aspx')" value="打印本页"  /></p>

<div class="myTiShiKuang"> 
    <table>
        <tr>
            <td style="width: 456px">
                &nbsp;</td>
            <td>
    <asp:Label ID="Label5" runat="server"></asp:Label>
    
            </td>
        </tr>
        <tr>
            <td style="width: 456px">
                <textarea id="TextArea1" name="S1" rows="3" style="width: 430px; height: 45px" 
                    readonly="readonly"></textarea>
            </td>
            <td>
                <textarea id="TextArea2" name="S2" style="width: 430px; height: 45px; font-size: xx-large;
                    color: #FF0000; font-weight: 700;" cols="20"></textarea>
            </td>
        </tr>
        <tr>
            <td style="width: 456px">
                <textarea id="TextArea3" name="S3" rows="3" style="width: 430px; height: 45px" 
                    cols="20" readonly="readonly"></textarea>
            </td>
            <td>
                <asp:TextBox ID="TextBox52" runat="server" Height="45px" TextMode="MultiLine" 
                    Width="430px" ReadOnly="True"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td style="width: 456px; height: 144px;">
            </td>
            <td style="height: 144px">
            </td>
        </tr>
    </table>
</div>
<input id="Text100" style="visibility:hidden" type="text"  value="<%=DisplayStr()%>" />&nbsp;
<br /><br /><br /><br /><br /><br /><br /><br /><br />

<script type="text/javascript">
    function printHidden1(url) {
        
        document.body.insertAdjacentHTML("beforeEnd",   "<iframe name=printHiddenFrame width=0 height=0></iframe>");
        
        var doc = printHiddenFrame.document; 

        host = window.location.host;
        url = 'http://' + host + url;
        PageSetup("margin_top",20); 

        doc.open();
        doc.write("<body onload=\"parent.onprintHiddenFrame()\">");
        doc.write("<iframe name=printMe width=0 height=0 src=\"" + url + "\"></iframe>");
        doc.write("</body>");
        doc.close();
        }

        function onprintHiddenFrame() {

            function onfinish() {
                 
                printHiddenFrame.outerHTML = "";
                if (window.onprintcomplete) window.onprintcomplete();
            }
            printFrame(printHiddenFrame.printMe, onfinish);
        }

        function printFrame(frame, onfinish) {
             
            if (!frame) frame = window;

            function execOnFinish() {
                 
                switch (typeof (onfinish)) 
                {
                    case "string": execScript(onfinish); break;
                    case "function": onfinish();
                }
                if (focused && !focused.disabled) focused.focus();
            }

            if ((frame.document.readyState != "complete") && (!frame.document.confirm("The document to print is not downloaded yet!" + " Continue with printing?"))) 
            {
                execOnFinish();
                return;
            }


            var eventScope = printGetEventScope(frame);
            var focused = document.activeElement;

            window.printHelper = function () {
                 
                execScript("on error resume next: printWB.ExecWB 6, 6", "VBScript");
                printFireEvent(frame, eventScope, "onafterprint");
                printWB.outerHTML = "";
                execOnFinish();
                window.printHelper = null;
            }

            document.body.insertAdjacentHTML("beforeEnd",
    "<object id=\"printWB\" width=0 height=0 \
    classid=\"clsid:8856F961-340A-11D0-A96B-00C04FD705A2\">");
             
            printFireEvent(frame, eventScope, "onbeforeprint");
            frame.focus();
            window.printHelper = printHelper;
            setTimeout("window.printHelper()", 0);
        }

        // helpers
        function printIsNativeSupport() {
            var agent = window.navigator.userAgent;
            var i = agent.indexOf("MSIE ") + 5;
            return parseInt(agent.substr(i)) >= 5 && agent.indexOf("5.0b1") < 0;
        }

        function printFireEvent(frame, obj, name) {
            var handler = obj[name];
            switch (typeof (handler)) {
                case "string": frame.execScript(handler); break;
                case "function": handler();
            }
        }

        function printGetEventScope(frame) {
            var frameset = frame.document.all.tags("FRAMESET");
            if (frameset.length) return frameset[0];
            return frame.document.body;
        }

//定义注册表位置 　　   
  
var　HKEY_Path="HKEY_CURRENT_USER\\Software\\Microsoft\\Internet　Explorer\\PageSetup\\";　 　　   
  
　　   
  
//name的值可为header（页眉），footer（页脚），margin_bottom（下边距），margin_left（左边距），margin_right（右边距），margin_top（上边距）。 　　   
  
// 　　   
  
function　PageSetup(name,value)　{　 　　   
  
try　{　 　　   
  
var　Wsh=new　ActiveXObject("WScript.Shell");　 　　   
  
Wsh.RegWrite(HKEY_Path+name,value);　 　　   
  
//修改注册表值 　　   
  
}　 　　   
  
catch(e){ 　　   
  
　　　　alert('需要运行运行Activex才能进行打印设置。'); 　　   
  
}　 　　   
  
}　


</script>
<script type="text/javascript">
    function gettishi(str) {
        var str2 = document.getElementById("Text100").value ;
        //str2.replace(/\'/g, "\"");
        //取得文本框的值
        
        var arr = eval(str2);
        document.getElementById("TextArea1").value = '';
        document.getElementById("TextArea2").value = '';
        document.getElementById("TextArea3").value = '';


        for (var i = 0; i < arr.length; i++) {
            if (arr[i].tishiid == str) {
                if (arr[i].ti1.length > 0) {
                    document.getElementById("TextArea1").value = arr[i].idmingcheng + "填写说明:  " + arr[i].ti1;
                }
                if (arr[i].ti2.length > 0) {
                    document.getElementById("TextArea2").value = arr[i].ti2;
                }
                if (arr[i].ti3.length > 0) {
                    document.getElementById("TextArea3").value = arr[i].idmingcheng + "填写例子:  " + arr[i].ti3;
                }
            }
        }



    }


    function Button5_onclick() 
    {
 
    }

    function Button5_onclick() {
        xiedaoshujuku();

        Response.Redirect("zzb.aspx");

    }

function Button5_onclick() {

}

</script>

</asp:Content>

